home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 2001 Haziran
/
CHIP Haziran2001.iso
/
prog
/
share
/
04
/
setup.exe
/
MM9.Cab
/
F1401_edit.asp.9B3B646D_CB56_4EAE_BAB7_3E7E8E41A649
< prev
next >
Wrap
Text File
|
2000-08-17
|
6KB
|
123 lines
<!-- #INCLUDE VIRTUAL="/golive/config/include/utils.runtime5.asp" -->
<!-- #INCLUDE VIRTUAL="/golive/config/include/ado.runtime5.asp" -->
<!-- #INCLUDE VIRTUAL="/golive/config/actions/ado.actions5.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 5">
<title>Edit Feature</title>
<script language="JavaScript">
<!---
function TestIfNumber( InputField )
{
if( isNaN( Number( InputField.value ))){
alert( "This input field requires number." );
InputField.focus()
}
}
//--->
</script>
<%'Dynamic Link
set Features_InformationRecordSet = CreateObject("ADODB.RecordSet")
Features_InformationRecordSet.Open "select * from Features", ConnectString("Magazine")
set Features_Information = WrapRecordSet(Features_InformationRecordSet, "ID")
Features_Information.Move GetRecordIndex() - 1
%><meta name="site-config-URL" content="http://localhost/golive/config/">
</head>
<body bgcolor="white">
<form method="post" action='/golive/config/actions/ado.actions5.asp?<%=URLArgs()%>'>
<table border="0">
<tr>
<td valign="top">
<table border="0" cellpadding="3" cellspacing="0">
<tr>
<td valign="top" bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Title</b></font></td>
<td valign="top" bgcolor="#ccccff"><input type="text" name='Title' value='<%=Features_Information.Value("Title")%>' size="29"></td>
<td valign="top"><img src="images/spacer.gif" height="5" width="5"></td>
</tr>
<tr>
<td colspan="3"><img src="images/spacer.gif" height="1" width="50"></td>
</tr>
<tr>
<td valign="top" bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Intro </b></font></td>
<td valign="top" bgcolor="#ccccff"><textarea rows="5" cols="25" name='Introduction' wrap="virtual"><%=Server.HTMLEncode(Features_Information.Value("Introduction"))%></textarea></td>
<td valign="top"><img src="images/spacer.gif" height="5" width="5"></td>
</tr>
<tr>
<td colspan="3"><img src="images/spacer.gif" height="1" width="50"></td>
</tr>
<tr>
<td valign="top" bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Story</b></font></td>
<td valign="top" bgcolor="#ccccff"><textarea rows="24" cols="25" name='Story' wrap="virtual"><%=Server.HTMLEncode(Features_Information.Value("Story"))%></textarea></td>
<td valign="top"><img src="images/spacer.gif" height="5" width="5"></td>
</tr>
</table>
</td>
<td valign="top">
<table border="0" cellpadding="3" cellspacing="0">
<tr>
<td valign="top" bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Author</b></font></td>
<td valign="top" bgcolor="#ccccff"><input type="text" name='Author' value='<%=Features_Information.Value("Author")%>' size="24"></td>
</tr>
<tr>
<td colspan="2"><img src="images/spacer.gif" height="1" width="1"></td>
</tr>
<tr>
<td valign="top" bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Priority</b></font></td>
<td valign="top" bgcolor="#ccccff"><input type="text" size="8" name='Priority' value='<%=Features_Information.Value("Priority")%>' onblur="TestIfNumber( this )"></td>
</tr>
<tr>
<td colspan="2"><img src="images/spacer.gif" height="1" width="1"></td>
</tr>
<tr>
<td valign="top" nowrap bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Image</b></font></td>
<td valign="top" bgcolor="#ccccff"><input type="text" name='ImageURL' value='<%=Features_Information.Value("ImageURL")%>' size="24" onblur="document.storyImage.src= imageURL.value"></td>
</tr>
<tr height="13">
<td height="13" colspan="2" align="left" bgcolor="#ccccff"><img height="5" width="50" src="images/spacer.gif"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#ccccff" align="left"><img src='<%=Features_Information.Value("ImageURL")%>' width="280" height="170" name="storyImage" hspace="5"><br>
<p>
<input type="submit" name="$SubmitChanges" value="Submit Changes" <%=SetupADOAction(Features_Information, false)%>>
<input type="submit" name="$DeleteRecord" value="Delete" <%=SetupADOAction(Features_Information, false)%>>
<input type="submit" name="$DuplicateRecord" value="Duplicate" <%=SetupADOAction(Features_Information, false)%>>
</td>
</tr>
</table>
<p>
<hr>
<p>
<font face="verdana" size="1"><b>
<a <%=LinkToFirstRecord(Features_Information)%>> FIRST</a>
|
<a <%=LinkToPreviousRecord(Features_Information)%>> <- PREVIOUS</a>
|
<a <%=LinkToNextRecord(Features_Information)%>>NEXT -></a>
|
<a <%=LinkToLastRecord(Features_Information)%>>LAST</a>
|
<a href='edit.asp?RECORD_KEY=$newRecord'>NEW</a> | <%=Features_Information.AbsolutePosition%> of <%=Features_Information.RecordCount%></b></font></td>
</tr>
</table>
</form>
</body>
</html>
<% if 0 then %>
<!-- Mock Content
Features_Information:Title {}
Features_Information:Introduction {}
Features_Information:Story {}
Features_Information:Author {}
Features_Information:Priority {}
Features_Information:ImageURL {images/ducky(big).jpg}
Features_Information:ImageURL {images/ducky(big).jpg}
Features_Information:$recordIndex {3}
Features_Information:$recordCount {15}
-->
<% end if %>